<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>快来后台管理系统</title>
<jsp:include page="../head.html"></jsp:include>
<link href="/QuickLifeServer/css/main.css" rel="stylesheet"/>
<link href="/QuickLifeServer/ExtJS/resources/css/ext-all.css" rel="stylesheet"/>

</head>
<body>
	<div class="utils_content">
		<img class="logo" src="../images/logo_text.png" alt="快来"/>
		<br>
		<br>
		<span class="nick" id="name"></span>
		<a class="logout" href="/QuickLifeServer/WebLogoutAction">注销</a>
		<br/>
		<fieldset>
			<img id="bus_logo" alt="Logo未显示"/>
		</fieldset>
		<fieldset>
			<ul>
				<li id="coupons_total">优惠总数：</li>
				<li id="bus_score">商户评分：</li>
			</ul>
		</fieldset>
		<br/>
		<span class="utils_text" id="date_time"></span>
		<br/>
		<p class="button toggle_utils"></p>
	</div>
	<div class="menu_content">
		<ul class="menu">
			<li><a href="coupons_manage.jsp" class="menu_button">优惠管理</a></li>
			<li><span class="menu_button" onClick="add_coupons()">添加优惠</span></li>
			<li><span class="menu_button" onClick="current_push()">当前推送</span></li>
			<li><a href="businfo.jsp" class="menu_button">商户信息</a></li>
			<li><a href="data_statistics.jsp" class="menu_button">数据统计</a></li>
			<li><span class="menu_button" onClick="openPasswordDialog()">修改密码</span></li>
		</ul>
	</div>
	<iframe id="frame" name="frame" frameborder="0" src="coupons_manage.jsp">
		<noframes><span>您的浏览器太旧了！！！</span></noframes>
	</iframe>
	<div id="change_password_dialog" style="display: none;">
		<label class="input_label" for="oldPassword">旧密码：</label>
		<input type="password" id="oldPassword" class="input_view" onblur="checkOldPassword()"/>
		<br/>
		<label class="validate_msg" id="oldPassword_validate"></label>
		<br/>
		<label class="input_label" for="newPassword">新密码：</label>
		<input type="password" id="newPassword" class="input_view"/>
		<br/>
		<br/>
		<label class="input_label" for="rePassowrd">新密码：</label>
		<input type="password" id="rePassword" class="input_view"/>
		<br/>
		<label class="validate_msg" id="password_validate"></label>
		<br/>
		<span> 提示：修改完成后自动注销登陆 </span>
	</div>
	<input type="hidden" id="id" value="${sessionScope.id}"/>
	
	<script src="/QuickLifeServer/js/main.js"></script>
	<script src="/QuickLifeServer/ExtJS/ext-all.js"></script>
	<script src="/QuickLifeServer/ExtJS/locale/ext-lang-zh_CN.js"></script>
	<script src="/QuickLifeServer/js/hex-md5.js"></script>
	<script src="/QuickLifeServer/js/add_coupons.js"></script>
	<script src="/QuickLifeServer/js/current_push.js"></script>
	
</body>
</html>